package test.my.com.myapplicationtest.zhe_xian_tu_view.DynamicPathView.draw.model;

/**
 * Created by ah on 2016/10/10.
 * 圆角矩形背景的文字
 */

public class RoundRectTextModel extends DrawBaseModel {
    public static final float PADING_HORIZONTAL = 12;// 横向间距常量
    public static final float PADING_VERTICAL = 3;// 竖向间距常量
    private float centerX;
    private float centerY;
    private int round;
    private float textWidth;
    private float textHeight;
    private String textContent;
    private int textColor;
    private float textSize;

    public RoundRectTextModel(float centerX, float centerY, int round, float textWidth,
                              float textHeight, String textContent, int textColor,
                              float textSize,int color) {
        this.centerX = centerX;
        this.centerY = centerY;
        this.round = round;
        this.textWidth = textWidth;
        this.textHeight = textHeight;
        this.textContent = textContent;
        this.textColor = textColor;
        this.textSize = textSize;
        this.setColor(color);
    }

    public String getTextContent() {
        return textContent;
    }

    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }

    public int getTextColor() {
        return textColor;
    }

    public void setTextColor(int textColor) {
        this.textColor = textColor;
    }

    public float getTextSize() {
        return textSize;
    }

    public void setTextSize(float textSize) {
        this.textSize = textSize;
    }

    public float getTextHeight() {
        return textHeight;
    }

    public void setTextHeight(float textHeight) {
        this.textHeight = textHeight;
    }

    public float getCenterX() {
        return centerX;

    }

    public void setCenterX(float centerX) {
        this.centerX = centerX;
    }

    public float getCenterY() {
        return centerY;
    }

    public void setCenterY(float centerY) {
        this.centerY = centerY;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public float getTextWidth() {
        return textWidth;
    }

    public void setTextWidth(float textWidth) {
        this.textWidth = textWidth;
    }

}
